package com.test.common;

import java.util.concurrent.atomic.AtomicLong;

public class AtomicCounter implements Counter {
    AtomicLong counter = new AtomicLong();

    @Override
    public int getCounter() {
        return counter.intValue();
    }

    @Override
    public void increament() {
        counter.incrementAndGet();
    }

}
